/*
********************************************************************************
* Copyright (C) 2021, xiang.D <dx_65535@163.com>.
* All right reserved.
*
* File Name   : iteratorbase.h
* Author      :
* Version     : V1.0
* Description :
* Journal     : 2021-02-22 init v1.0
* Brief       : Blog: https://blog.csdn.net/qq_38750572?spm=1001.2014.3001.5343
* Others      :
********************************************************************************
*/

#ifndef __ITERATORBASE_H__
#define __ITERATORBASE_H__

template<typename T>
class CIteratorBase
{
public:
    CIteratorBase(){}
    virtual ~CIteratorBase(){}
    virtual T *First() = 0;
    virtual T *Next() = 0;
    virtual T *CurPos() = 0;
    virtual bool IsEnd() = 0;
};

#endif